/**
 * 有关全局的配置都在这里配置
 */

// const userInfo = {
//   userId: '39',
//   token: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjM5LCJ1c2VybmFtZSI6Ijk5OCIsImlzcyI6ImNybSIsImlhdCI6MTU2MTI2NTA0NCwiZXhwIjoxNTYxMzUxNDQ0fQ.s5WSMvm9ektwzaInI5PchrxV_ZqnDpggJJd3hIRr-yA',
//   userSig: 'eJxFkF1PwjAUhv-LbjHaj3UT7wYhsxkTNycGb5rSdtCAo3Zl0Rj*u7Vh8fI8zzk55z0-UbN8ueXGaMm4Y9jK6CEC0U3A6stoqxhvnbIeQ0IIAmC0g7K9PnVeIAAJRBiAf6ml6pxudRjE0yvt9c6X5WIzp9Vc7N7T5NnMUk6eis-J-XTb3JlJuajRyvbbrKCP*asp6V42Fd1nq3J2fnO*qZV1EefweBRrmqFC1V6KXB-wMGCcqnW1HJfJAwvB-k6PAfBXwjS*Sqc-VIiUQJQQEI*cC3E6d465b6PCJy6-WMlUnQ__',
// };

// window.localStorage.setItem('token', userInfo.token);
// window.localStorage.setItem('userId', userInfo.userId);
// window.localStorage.setItem('userSig', userInfo.userSig);


// 由于暂时无法解决代理问题，通过环境设置origin的值
const urlPaths = {
  // test: 'http://172.16.0.181:8883', // 测试环境
  test: 'http://183.63.72.243:18883', // 外网测试环境
  pro: 'http://129.204.241.223:8883' // 正式环境
}
const sdkid = {
  test: '1400373952', // 外网测试环境
  pro: '1400201174' // 正式环境
}
const baseUrl = urlPaths[process.env.REACT_APP_ENV];

export default {
  baseUrl,
  name: '法力',
  loginInfo: {
    'sdkAppID': sdkid[process.env.REACT_APP_ENV], //用户所属应用id,必填
    'accountType': '36862', //用户所属应用帐号类型，必填
  }
}